home *** CD-ROM | disk | FTP | other *** search
/ Publisher Platinum / Publisher Platinum.iso / clipart / utils / gifhex11 / gifhex.doc < prev    next >
Encoding:
Text File  |  1993-04-30  |  17.1 KB  |  358 lines

  1.  
  2.           GIFHEX (c) Copr. 1990-91 Lawrence Gozum & Marvin Gozum
  3.           ──────────────────────────────────────────────────────
  4.  
  5.                                 User Manual
  6.  
  7.  
  8.      DISCLAIMER
  9.  
  10.      This product is distributed AS IS.  The authors specifically disclaim
  11.      all warranties ,expressed or implied, including ,but not limited to,
  12.      implied warranties of merchantability and fitness for a particular
  13.      purpose with respect to defects in the diskette and documentation, and
  14.      program license granted herein, in particular, and without limiting
  15.      operation of the program license with respect to any particular
  16.      application use or purpose.  In no event shall the authors be liable for
  17.      any loss of profit or any other commercial damage including but not
  18.      limited to special, incidental, consequential or other damages.
  19.  
  20.  
  21.      LICENSING AGREEMENT
  22.  
  23.      You may use this program for a 10 DAY TRIAL PERIOD.  Should you find
  24.      this program useful, you MUST register it; you will then be provided
  25.      with the latest releases of the VGACAD system see last section of this
  26.      manual). Freely distribute unmodified GIFHEX copies provided you charge
  27.      $10 max. for distribution, in lieu of recognized Users Group guidelines
  28.      (e.g., ASP or NYACC).
  29.  
  30.  
  31.      WHAT IS GIFHEX ?
  32.  
  33.      GIFHEX is VGA2EGA reincarnated.  It is a utility to convert GIF or PCX
  34.      or BLD/PLT images, with 256-colors, to variable, error-distributed,
  35.      dithered, 16-color pictures (up to 1024x768x16).  It supports FOUR
  36.      different algorithms to maximize your 16-color modes.
  37.  
  38.      One of the algorithms - POSTER - is a modified version of IDTVGA
  39.      dithering, modified for EGA/SVGA/SVGA; this dithering scheme lets you
  40.      'see' up to 216 distinct colors in VGA/SVGA or ALL 64 colors in EGA.
  41.  
  42.      Why be concerned with 16-color modes ? Isn't EGA a thing of the past ?
  43.      Well, not quite; there are still MANY EGA users who have invested in
  44.      costly RGB monitors; with GIFHEX, EGA users will not be missing much.
  45.  
  46.      In addition, SVGA 1024x768x256 images tend to show more detail in
  47.      dithered 1024x768x16 modes than in interpolated (ie., sub-sampled)
  48.      640x480x256 modes.  Moreover, the greatest common denominator, with
  49.      the greatest standard resolution is the 640x480x16 mode (although we
  50.      think the non-standard 360x480x256 video mode is better, it is still
  51.      non-standard).  Thus, many 'GENLOCK' add-on boards have optimized the
  52.      sync of their 640x480x16 modes for 'keying' - ie., for computer
  53.      graphics overlays over real-time video images.  The 640x480x16 mode
  54.      is quite adequate for when viewed as a special effect
  55.      (ie., 'posterization) which is quite nifty for making video MultiMedia
  56.      presentations with 'GENLOCK' add-on cards.
  57.  
  58.      Last but not the least, Intel's DVI (Digital Video Interactive)
  59.      technology uses VGA 640x480x16 as its video overlay mode.  DVI will
  60.      probably be THE 'de facto' standard for FULL MOTION VIDEO on your
  61.      generic PC in the next year or so.  Intel has plans for making DVI
  62.      VERY AFFORDABLE for home users.
  63.  
  64.  
  65.      REQUIREMENTS
  66.  
  67.      EGA 128KB (640x350x16).  About 512KB of memory is required, although it
  68.      uses about 2/3 of that.  With VGA or SVGA, palettes and colors will be
  69.      modified to take advantage of VGA/SVGA's capability to show 16 out of
  70.      256KB colors instead of EGA's 64 color palette.
  71.  
  72.  
  73.      LOADING PICTURES INTO GIFHEX
  74.  
  75.      Three formats are accepted by GIFHEX: GIF, PCX and BLD/PLT files; at
  76.      the start of the program, select from [G]IF, [P]CX or [B]LD/PLT files.
  77.      TEMP file are created when GIF or PCX images are decoded; you can reload
  78.      and rerocess previously decoded GIF and PCX images when prompted to load
  79.      TEMP files.
  80.  
  81.  
  82.      THE MAIN MENU
  83.  
  84.      After successful loading of your picture you can choose to create
  85.      16-color, dithered images in [E]GA 640x350x16, [V]GA 640x480x16, or
  86.      [U]ser modes up to 1024x768x16.
  87.  
  88.      [M]ethod toggles between 4 algorithms: POSTER, COLORIZE, 8 COLOR and
  89.      16 COLOR dithering schemes.
  90.  
  91.      [L]ab facilitates interactive adjustments of color and contrast.
  92.  
  93.  
  94.      DITHERING SCHEMES
  95.  
  96.      POSTER utilizes a dithering scheme called IDTVGA; for lack of a better
  97.      term, IDTVGA stands for "Improved Definition Televion for VGA".  This
  98.      dithering scheme was originally designed to 'show' over 100,000 colors
  99.      in SVGA 256-color modes.  Here it has been adapted to 'show' 216 colors
  100.      in VGA/SVGA modes and 64 colors in EGA mode.  Of all the four methods,
  101.      POSTER is the fastest and provides the closest rendering of the
  102.      original 256-color image with NO artifacting (ie., extraneous pixels
  103.      or noise).  On the downside, the IDTVGA dithering scheme tends to mute
  104.      the colors of the dithered images if compared to the original 256-color
  105.      image; this however, is more than compensated by the 'clean' rendition.
  106.  
  107.      8-COLOR dithering uses the classic 3-plane (red-green-blue), however
  108.      this Floyd-Steinberg dithering uses Stuki-like values.  This algorithm
  109.      is the most consistent and renders ALL images with smoother tones.
  110.      Flesh tones and gradients are good.  Artifacting is predictable and
  111.      can be minimized with contrast adjustments.  Grey shades, however,
  112.      tend to be distorted.
  113.  
  114.      16-COLOR dithering uses 4-plane (red-green-blue-white) dithering,
  115.      similar to 8-COLOR dithering, but with an additional plane for greater
  116.      tone.  The white plane enhances the grey content.
  117.  
  118.      COLORIZE, for lack of a better term, is similar to 8-COLOR or 16-COLOR
  119.      dithering in its rendering BUT utilizes a radical approach; it uses a
  120.      color look-up table for HSV values (Hue, Saturation and Value).  This
  121.      dithering method renders BRILLANT colors (and a lot of them).  For
  122.      many images, the results are superior to ALL four methods.  The
  123.      downside is its inconsistency and artifacting (ie., extraneous pixels
  124.      or noise).  Some images do not render very well with this method, while
  125.      others have outstanding results (eg., CARINA.GIF, PARROT.GIF, PAM1.GIF).
  126.  
  127.      Experiment with each of these methods, with different LAB settings
  128.      as described in next section.  To summarize:
  129.  
  130.      METHOD     ADVANTAGES              DISADVANTAGES
  131.  
  132.      POSTER     GREATEST FIDELITY       MUTED COLORS
  133.      8-COLOR    GOOD TONES              MINIMAL ARTIFACTING, POOR GREYS
  134.      16-COLOR   BETTER TONES/GREYS      MINIMAL ARTIFACTING
  135.      COLORIZE   BRILLANT COLORS         SOME ARTIFACTING
  136.  
  137.  
  138.      LABORATORY
  139.  
  140.      The LABoratory allows interactive rendering of images using the
  141.      16-COLOR dithering method.  All values are used in 8-COLOR, 16-COLOR
  142.      and COLORIZE methods; only the POSTER method is independent.
  143.  
  144.      Selecting (L)aboratory will put you in EGA 640x350x16 mode and will
  145.      show 70% of your picture; while in the Lab, you can alter the red,
  146.      green, blue, and white color and contrast levels.
  147.  
  148.      To select a plane for modification press A,R,G,B,W; each letter refers
  149.      to ALL, Red, Green, Blue,and White respectively.  Below the displayed
  150.      image are bargraphs showing the corresponding RGBI color and contrast
  151.      levels.
  152.  
  153.      Once a plane has been selected, pressing the [+] or [-] key will
  154.      increase or decrease, the color or contrast level of selected
  155.      plane(s).  The  <spacebar> toggles between contrast and color level
  156.      modification modes.
  157.  
  158.      A MODE indicator will tell you what your current plane selection is
  159.      and what modification mode is active.  "A Color" will mean that ALL
  160.      color levels of all 4 planes will be affected.  "R Contrast" will mean
  161.      that only the RED color level will be affected.  The [U]ndo function
  162.      resets all color and contrast values; so, feel free to experiment!
  163.  
  164.      With (F)ine Tuning, you can adjust the global amounts of Red, Green,
  165.      Blue and White(grey) in your picture.  At default it is 100%; this can
  166.      be increased up to 200%; increasing the contrast will increase the
  167.      amount of "black" in the picture by making a sharp cutoff (i.e., no
  168.      color will be plotted).
  169.  
  170.      TIP: To avoid noise generated by dark shades surrounding a bordered
  171.           image, increase the contrast level for ALL planes interactively.
  172.  
  173.  
  174.      RESIZING & SAVING OPTIONS
  175.  
  176.      Whenever you select a video mode you will see these options (fields
  177.      below are filled with examples).
  178.  
  179.                Video Mode/Aspect Ratio: EGA 640x350
  180.                Image Width  (pixels)  : 640
  181.                Image Height (pixels)  : 350
  182.  
  183.                Resizing Factor (1-100): 100%
  184.                Pathname               : C:\GIF
  185.                Dither Density (0 -255): 128
  186.  
  187.      Image Width and Height are set by the video mode you have chosen and
  188.      cannot be changed.  In this example, the Image Width and Height matches
  189.      the full screen since Resizing Factor is 100%; if it were 50% then each
  190.      number will be cut in half.  The Pathname specifies where NYBLSCRN
  191.      files (final output) will be saved.
  192.  
  193.      The value in Dither Density makes the dots more compact or more
  194.      dispersed.  This value modifies contrast levels; if you have an image
  195.      that is supposed to be surrounded by a black border but results in
  196.      'artifacts' (undesired dithering), then increase this number to raise
  197.      the contrast level.
  198.  
  199.      While viewing the picture in any mode, pressing <RETURN> saves your
  200.      dithered image to NYBLSCRN.RAW and NYBLSCRN.PLT files; these files are
  201.      constantly being overwritten.  Use VGAFIL to encode the NYBLSCRN files
  202.      then immediately rename to keep your GIF or PCX file.
  203.  
  204.  
  205.      EXTENDED EGA (EEGA) & SUPERVGA (SVGA) MODES
  206.  
  207.      You can set your own modes; specify the Screen Width, Screen Height,
  208.      colors (16 or 256), Video Mode, and Chip type (9=BIOS).  Several *.CFG
  209.      files are included; copy a special video mode (e.g., 800x600x16 and
  210.      1024x768x16) to GIFHEX.CFG and it will be invoked with [U]ser option.
  211.  
  212.                copy ATI1024.cfg GIFHEX.cfg <ret>
  213.  
  214.      CHECK YOUR CARD'S MANUAL TO DETERMINE IF IT SUPPORTS IT!
  215.  
  216.      To set a new mode, press "P"arameters.  Once edited, it is saved and
  217.      recalled anytime.  Type the video mode in decimal (e.g. 255) or hex
  218.      (e.g. &HFF); HEX ENTRIES *MUST* BE PRECEDED BY THE "&H" CHARACATERS.
  219.      16-COLOR MODES (UP TO 800x600 EXCEPT EVEREX & VIDEO7 MODES) MUST ALWAYS
  220.      USE "9" (for BIOS) SINCE IT WILL TELL GIFHEX TO USE THE HARDCODED
  221.      STANDARD PROCEDURE.  FOR MODES ABOVE 800x600 (e.g. 1024x768), YOU MUST
  222.      USE CORRECT CHIPSET. (e.g., TSENG, VIDEO7, TRIDENT, etc).  WHEN IN
  223.      DOUBT, USE "9" (for BIOS).  EV-673 users MUST use the "Everex" Chip
  224.      type; EV-678 must specify the "EV678" Chip type.
  225.  
  226.  
  227.  
  228.      USING VGAFIL
  229.  
  230.      To convert directly from DOS, simply type
  231.  
  232.                         VGAFIL nyblscrn
  233.  
  234.      or specify the path where the nyblscrn files have been saved such
  235.      as the following examples.
  236.  
  237.                         VGAFIL \work\svga\nyblscrn
  238.                         VGAFIL e:\ramdisk\nyblscrn
  239.                         VGAFIL b:nyblscrn
  240.  
  241.      IMPORTANT: NYBLSCRN FILES HAVE SPECIAL MEANING TO VGAFIL.  WHEN
  242.                 VGAFIL DETECTS THIS FILENAME, IT ENCODES THE IMAGE AS A
  243.                 TRUE 16-COLOR GIF.  ONLY GIF (87a) FORMAT FOR 16-COLOR
  244.                 IMAGES IS SUPPORTED AT THIS TIME.
  245.  
  246.  
  247.  
  248.  
  249.      THE CHAINED VGACAD ENVIRONMENT
  250.  
  251.      BRUN41.exe is a runtime module distributed under licence with Microsoft
  252.      in connection with this program.  Place it with GIFHEX or anywhere your
  253.      PATH has access to.  GIFHEX will be part of VGACAD (v2.0 and up).
  254.      ONLY ONE COPY OF BRUN41.EXE IS REQUIRED.
  255.  
  256.  
  257.  
  258.      REGISTRATION
  259.  
  260.      REGISTRATION OF GIFHEX IS BASED ON 'PERSONAL USAGE'.  CORPORATE OR
  261.      ORGANIZATIONAL USERS *MUST* REGISTER ALL COPIES USED ON AN INDIVIDUAL
  262.      BASIS; A SPECIFIC PERSON (NAME) MUST BE EXPLICITLY ASSIGNED TO EACH
  263.      REGISTRANT WHO WILL BE PROVIDED WITH A CORRESPONDING REGISTER.OVL FILE
  264.      TO INDICATE REGISTERED USAGE.  REGISTRATION GRANTS A SPECIFIC PERSON
  265.      (NOT A JURIDICAL PERSON OR CORPORATE ENTITY) THE RIGHT TO 'USE' GIFHEX.
  266.  
  267.     ┌───────────────────────────────────────────────────────────────────┐
  268.     │ ALTHOUGH WE WILL TRY TO RESPOND TO YOUR REGISTRATION IN 2-3 WEEKS,│
  269.     │ PLEASE ALLOW UP TO 4-6 WEEKS DELAY TO PROCESS YOUR REGISTRATION.  │
  270.     └───────────────────────────────────────────────────────────────────┘
  271.  
  272.      As token of our appreciation (i.e., to registered users), we will send
  273.      you the the latest version of the VGACAD system; many of the programs
  274.      listed below do not require a graphics card.
  275.  
  276.      GIFPUB - converts 256 color GIF/PCX files to B&W images desktop
  277.      publishing (DTP) as .PCX (Ventura, First Publisher, Publisher's
  278.      Paintbrush, WP, Pagemaker).  Variable sizing/contrast/brightness.
  279.      Includes printing on IBM/Epson, HP Laser and compatible printers.
  280.      Variable sizes. 8 pics/page and/or  Single/Double Pass printing on
  281.      dot matrix printers. Preview in CGA/HGC/EGA/VGA/EEGA/SVGA. Histogram-
  282.      equalization.  No graphics card required.
  283.  
  284.      GIFBIT - converts B&W PCX files (e.g., scanner output to 32KBx32KB !)
  285.      to grey shades for VGACAD image processing, GIFPUB redithering or
  286.      printing, or VGA2EGA conversion - it edits those "scan line jitters".
  287.      Viewing modes in MCGA/VGA/SVGA.  No graphics card required.
  288.  
  289.      SQZGIF/EGA2VGA - converts LARGE GIF/PCX pics (to 2KBx2KBx256) to
  290.      several sizes and video modes using "color averaging" to blend/smooth
  291.      "jaggies" or fast interpolation.  Variable sizing.  Also, converts
  292.      GIFs (16 colors and below) and creates up to 256 new colors; outputs
  293.      directly to GIFPUB, GIFDOT, VGACAD, MVGAVU, VGA2CGA or VGA2EGA.
  294.      No graphics card required.
  295.  
  296.      GIFHEX (formerly VGA2EGA) - converts 256-color pictures to 16-color
  297.      EGA or VGA .  Error-distributed dithering.  User support to 1024x768.
  298.      Variable sizing/RGBICMY/contrast.  EGA/MCGA/VGA required.
  299.  
  300.      MVGAVU - EGA/MCGA/EEGA/VGA/SVGA viewer for GIF and BLD/PLT files.
  301.      Smart slideshows - picks best mode.  320x400x256, 360x480x256 and
  302.      640x400x16 modes on regular VGA.  Unique 16-color rendering.  SVGA
  303.      support to 1024x768x256.  Auto-sizing.  Auto-Centering.  Auto-EMS
  304.      usage.  AutoMode select.  Contrast/Brightness/Monitor Adjustment.
  305.      EGA/MCGA/VGA required.
  306.  
  307.      VGACAD - extensive paint/image processing program for MCGA/VGA/SVGA
  308.      users (edit GIFs up to 32KBx32KBx256 !!!); airbrushes, color and grey
  309.      image processing functions (smoothing, noise removal, shading, contrast
  310.      stretching, edge detection, ...), splines, Cut&Paste, variable sizing,
  311.      256-color gradient/pattern fills, MORE !  Full screen SuperVGA editing
  312.      and image processing function to 1024x768x256.   360x480x256 support.
  313.      MCGA/VGA required.
  314.  
  315.      VGA2CGA - converts 256 color GIFs to CGA!  See "405" colors in an
  316.      unsupported 160x100x16 CGA mode.  CGA/EGA/MCGA/VGA required.
  317.  
  318.      MAC2GIF - converts .MAC ("readmac") pictures to 5-16 grey shades or
  319.      color and saves to .GIF or BLD/PLT file.  EGA/MCGA/VGA required.
  320.  
  321.      VGACAP - resident utility to capture 256-color MCGA/VGA or SVGA images.
  322.      FAST SVGA 640x480x256 or 800x600x256 screen grabs.
  323.  
  324.      VGAFIL - GIF, PCX, BMP (Windows 3.0) and TGA (targa 16) encoding
  325.      utility.  Accepts ALL RAW file formats used by our utilites as well as
  326.      BLD/PLT files.  This utility replaces RAW2GIF, RAW2PCX and BLD2GIF.
  327.  
  328.  
  329.      WHAT'S NEXT ?
  330.  
  331.      Aside from enhancing existing releases with greater capabilities (e.g.,
  332.      expanded memory, virtual screen, SVGA functions, other graphics
  333.      formats), we are developing VGACBT (Computer-Based Training program)
  334.      and MANNEQUIN for Advertising/Fashion Design or creating your own
  335.      artistic nudes.  We will try to develop and integrate more image
  336.      processing functions for all our applications; if you have any image
  337.      processing functions you would like to see, please let us know.
  338.  
  339.      In the short term, we are developing RGBLAB.  This is a color reduction
  340.      utility to 'downsize' 24-bit or 16 Million-color pictures to 256-colors.
  341.      RAW red, green and blue files or TIFF (*.TIF) files will be the main
  342.      input source.  IDTVGA dithering will play a key role in previewing
  343.      or rendering 24-bit images in SVGA 256-color modes.
  344.  
  345.      Support maverick authors like us and we will continue developing
  346.      products like nothing seen commercially - otherwise they will simply
  347.      "DIE" from lack of support !  Compare the cost/benefit ratio of any of
  348.      our products with commercial products.  You, and you alone, determine
  349.      whether it will be worthwhile to continue developing.  Support the
  350.      User-Supported (Shareware) concept.  Register your Shareware copies.
  351.      To register, send the registration form and check or money order payable
  352.      in USD to:
  353.  
  354.                                Dr. Marvin Gozum
  355.                   2 Independence Place #1105, 6th & Locust
  356.                             Philadelphia, PA 19106
  357.  
  358.